package com.jec.module.sysmonitor.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jec.module.sysmonitor.entity.NetConnect;

public interface NetConnectRepository extends JpaRepository<NetConnect,Integer>{
	
	public NetConnect findOneBySrcIdAndDestId(int srcId, int destId);
	
	public void deleteBySrcIdOrDestId(int srcId, int destId);
	
	public void deleteByDestIdAndSlotIn(int destId, List<Integer> slots);
	
}
